<%@ include file="/common/taglibs.jsp"%>
<%@ page language="java" import="java.util.*" pageEncoding="utf8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US"
	dir="ltr">
	<head>

		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />


		<title>购物订单打印</title>
		<style media="print" type="text/css">
			.noprint {
				display: none
			}
			</style>
					<style media="screen,print" type="text/css">
			.x-barcode {
				padding: 0;
				margin: 0
			}
			
			body {
				margin: 0;
				font-family: Arial, Helvetica, sans-serif;
				font-size: 12px;
			}
			
			.td_frame {
				padding: 5px 0 5px 0;
				border-bottom: 2px solid #000000;
			}
			
			img {
				padding: 2px;
				border: 0;
			}
			
			p {
				margin: 8px 0 8px 0;
			}
			
			h1 {
				font-size: 16px;
				font-weight: bold;
				margin: 0;
			}
			
			h2 {
				font-size: 14px;
				font-weight: bold;
				margin: 0;
			}
			
			.table_data_title {
				font-size: 14px;
				font-weight: bold;
				height: 25px;
			}
			
			.table_data_content {
				height: 20px;
				line-height: 20px;
			}
			
			#print_confirm {
				width: 100%;
				height: 30px;
				border-top: 1px solid #999999;
				padding-top: 4px;
				background-color: #5473ae;
				position: absolute;
			}
			
			#btn_print {
				width: 71px;
				height: 24px;
				background-image: url(<c:url value="/images/btn_print.gif" />);
				cursor: pointer;
				margin-left: auto;
				margin-right: auto;
			}
			
			#barcode {
				width: 150px;
				height: 50px;
				background: url(<c:url value="/images/bar_code.gif" />) no-repeat;  
			}
	</style>

	</head>


	<body style="">
		<div id="print1">
			${printTemplateResult}  
		</div>
		<div id="print2">
		</div>
		<div id="print_confirm" class="noprint">
			<div id="btn_print"></div>
		</div>

		<script type="text/javascript"
			src="<c:url value='/scripts/jquery-1.4.2.js'/>"></script>
		<script type="text/javascript">
	$("#print_confirm").css("top",$(window).height() - 35);
	
		</script>

	</body>
</html>